home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / IEditor / Examples / GMExample / GMExample_temp.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-06-17  |  2.5 KB  |  132 lines

  1. /*
  2.     C source code created by Interface Editor
  3.     Copyright © 1994-1996 by Simone Tellini
  4.  
  5.     Generator:  C.generator 37.2 (22.2.96)
  6.  
  7.     Copy registered to :  Gian Maria Calzolari - Beta Tester 2
  8.     Serial Number      : #2
  9. */
  10.  
  11. /*
  12.    In this file you'll find empty  template  routines
  13.    referenced in the GUI source.  You  can fill these
  14.    routines with your code or use them as a reference
  15.    to create your main program.
  16. */
  17.  
  18. #include <stdio.h>
  19. #include <exec/types.h>
  20.  
  21. void MySetup( void );
  22. {
  23.     /*  ...Initialization Stuff...  */
  24. }
  25.  
  26. BOOL SubItem1Menued( void )
  27. {
  28.     /*  Routine for menu "Menu1/Item1/SubItem1"  */
  29.     return( TRUE );
  30. }
  31.  
  32. BOOL SubItem2aMenued( void )
  33. {
  34.     /*  Routine for menu "Menu1/Item2/SubItem2a"  */
  35.     return( TRUE );
  36. }
  37.  
  38. BOOL SubItem2bMenued( void )
  39. {
  40.     /*  Routine for menu "Menu1/Item2/SubItem2b"  */
  41.     return( TRUE );
  42. }
  43.  
  44. LONG GetTheStringRexxed( ULONG *ArgArray, struct RexxMsg *Msg )
  45. {
  46.     /*  Routine for the "GETTHESTRING" ARexx command  */
  47.     return( 0L );
  48. }
  49.  
  50. LONG QuitRexxed( ULONG *ArgArray, struct RexxMsg *Msg )
  51. {
  52.     /*  Routine for the "QUIT" ARexx command  */
  53.     return( 0L );
  54. }
  55.  
  56. LONG Gimme5Rexxed( ULONG *ArgArray, struct RexxMsg *Msg )
  57. {
  58.     /*  Routine for the "GIMMEFIVE" ARexx command  */
  59.     return( 0L );
  60. }
  61.  
  62. LONG PutTheStringRexxed( ULONG *ArgArray, struct RexxMsg *Msg )
  63. {
  64.     /*  Routine for the "PUTTHESTRING" ARexx command  */
  65.     return( 0L );
  66. }
  67.  
  68. BOOL MiaFinVanillaKey( void )
  69. {
  70.     /*  Routine for IDCMP_VANILLAKEY  */
  71.     return( TRUE );
  72. }
  73.  
  74. BOOL MiaFinCloseWindow( void )
  75. {
  76.     /*  Routine for IDCMP_CLOSEWINDOW  */
  77.     /*  Return FALSE to quit, I suppose... ;)  */
  78.     return( FALSE );
  79. }
  80.  
  81. BOOL BottoneKeyPressed( void )
  82. {
  83.     /*  Routine when "_Button!"'s activation key is pressed  */
  84.  
  85.     /*  ...or return TRUE not to call the gadget function  */
  86.     return BottoneClicked();
  87. }
  88.  
  89. BOOL SceglimiKeyPressed( void )
  90. {
  91.     /*  Routine when "_Choose me!"'s activation key is pressed  */
  92.  
  93.     /*  ...or return TRUE not to call the gadget function  */
  94.     return SceglimiClicked();
  95. }
  96.  
  97. BOOL BottoneClicked( void )
  98. {
  99.     /*  Routine when "_Button!" is clicked  */
  100.     return( TRUE );
  101. }
  102.  
  103. BOOL PaletteClicked( void )
  104. {
  105.     /*  Routine when "Palette" is clicked  */
  106.     return( TRUE );
  107. }
  108.  
  109. BOOL SceglimiClicked( void )
  110. {
  111.     /*  Routine when "_Choose me!" is clicked  */
  112.     return( TRUE );
  113. }
  114.  
  115. BOOL NumeroClicked( void )
  116. {
  117.     /*  Routine when "Key in a _number" is clicked  */
  118.     return( TRUE );
  119. }
  120.  
  121. BOOL StringaClicked( void )
  122. {
  123.     /*  Routine when "Key in a _string" is clicked  */
  124.     return( TRUE );
  125. }
  126.  
  127. BOOL ProvaImgClicked( void )
  128. {
  129.     /*  Routine when "BooleanGadget" is clicked  */
  130.     return( TRUE );
  131. }
  132.